## page was renamed from NicolasCorrarello/NetworkInstall

|| /!\ '''THIS IS A DRAFT ONLY, FOR USE BY DOCUMENTATION WRITERS AND EDITORS. DO NOT RELY ON IT FOR ANY ADVICE UNTIL THIS NOTICE DISAPPEARS AND THE DOCUMENT IS PUBLISHED AS FINAL.''' ||

Documentation Summary: How to make a Boot/Network install server

Purpose: Ease deployement of fedora core in enterprise enviroments or install fests

Audience: IT, Ambassadors

Assumptions: User knows the basics on network configuration, NFS. RHCE's should not have any issue understanding this tutorial.

Related Documents: 

Lead Writer: NicolasCorrarello


== Making a Network Install Server ==

Having a network install server is useful, such as having a laptop the make installation events (''installfest'') faster and smoother.  It is also useful for even the smallest network that is going to install Fedora even one time.

Fedora Core 6 already includes a graphical utility, but you still need to do some manual adjustments.


as `root` 
{{{
# yum install system-config-netboot dhcp tftp xinetd 
}}}

Download the FC6 DVD Iso, the SHA1SUM, and the directory images / pxeboot and put it in an nfs export.
To get the dir from the ISO:

{{{
# mount -o loop -t iso9660 /path/to FC-6-i386-DVD.iso /media/loop
# mkdir /mnt/export/FC6/images
# cp -r /media/loop/images/pxeboot /mnt/export/FC6/images/
}}}
 *The path to the FC6 Iso, is in my case /mnt/export/FC6

So you should have a tree like 

{{{
# tree /mnt
}}}

{{{
|-- export
|   |-- FC6
|   |   |-- FC-6-i386-DVD.iso
|   |   |-- SHA1SUM
|   |   |-- images
|   |   |   `-- pxeboot
|   |   |       |-- README
|   |   |       |-- TRANS.TBL
|   |   |       |-- initrd.img
|   |   |       `-- vmlinuz
|   |   `-- ks.cfg
}}}

The /etc/exports file should look like this
{{{
# cat /etc/exports 
/mnt/export             172.16.0.0/24(ro) 10.96.0.0/24(ro)
}}}

Then launch the {{{system-config-netboot}}} utility, from the GUI in ''System -> Administration -> Server Configuration -> Network Boot Service''

Select Network Install and configure as such (check the paths and IP address, they may differ from your system)


{{{
#! html

<img src="http://img158.imageshack.us/img158/521/v2tx4.png" />
}}}

Identifier for operating system: The name, for example FC6

Description: Description, I write the nfs share path here, but you can write anything

Install Protocol: NFS 

Kickstart: You can make a kickstart with system-config-kickstart to automate the installation

Software:

IP Address: your.ip.address

Address: /Path/to/FC6iso-directory
 

Now move to editing /etc/dhcpd.conf that in my case, look like this

{{{
ddns-update-style none;
ignore client-updates;

subnet 172.16.0.0 netmask 255.255.255.0 {

        option routers                  172.16.0.1;
        option subnet-mask              255.255.255.0;

        option domain-name              "edgars-childs.nicolascorrarello.com.ar";
        option domain-name-servers      172.16.0.1;

        option ntp-servers              66.187.224.4;

        range dynamic-bootp 172.16.0.50 172.16.0.100;
        default-lease-time 21600;
        max-lease-time 43200;
}

allow booting;
allow bootp;
class "pxeclients" {
        match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
        #Servidor que contiene el tftp
        next-server 172.16.0.1;
        filename "linux-install/pxelinux.0";
}

#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#
}}}

Finally, enable the tftp server in xinetd, running:
{{{

# chkconfig tftp on
}}}
Launch all services:

{{{
# service xinetd start
# service dhcpd start
# service nfs start
}}}

Plug the target PC's to your network and starting showing how great Fedora is, you'll get a PC running with Fedora in fifteen minutes.
